Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 6 - Sequence Grabber Channel Components / Sequence Grabber Channel Components Reference
Functions / Configuration Functions for Video Channel Components


SGSetFrameRate

The SGSetFrameRate function allows the sequence grabber to specify a video channel's frame rate for recording.

pascal ComponentResult SGSetFrameRate (SGChannel c, 
                                        Fixed frameRate);
c
Identifies the channel connection for this operation.
frameRate
Specifies the desired frame rate. If this parameter is set to 0, use your channel's default frame rate. Typically, this corresponds to the fastest rate that your channel can support.
DESCRIPTION
The SGSetFrameRate function allows the sequence grabber to control a video channel's frame rate. Note that the digitizing hardware may not be able to support the full rate that the sequence grabber specifies. If the rate is too high, operate at the highest rate you can support.

SPECIAL CONSIDERATIONS
Note that this function will not be called when you are recording.

RESULT CODES
paramErr-50Invalid parameter value
cantDoThatInCurrentMode-9402Request invalid in current mode
SEE ALSO
The sequence grabber can retrieve your channel's current frame rate by calling your SGGetFrameRate function, which is described next.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help